package org.example.wikwok.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * comment
 * @author 
 */
public class Comment implements Serializable {
    private Integer id;

    private Integer videoid;

    private Integer userid;
    private String content;

    private Date createtime;



    private static final long serialVersionUID = 1L;

    public Comment(Integer videoid, Integer userid, Date createtime, String content) {
        this.videoid = videoid;
        this.userid = userid;
        this.createtime = createtime;
        this.content = content;
    }

    public Comment(Integer id, Integer videoid, Integer userid, String content, Date createtime) {
        this.id = id;
        this.videoid = videoid;
        this.userid = userid;
        this.content = content;
        this.createtime = createtime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getVideoid() {
        return videoid;
    }

    public void setVideoid(Integer videoid) {
        this.videoid = videoid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "id=" + id +
                ", videoid=" + videoid +
                ", userid=" + userid +
                ", createtime=" + createtime +
                ", content='" + content + '\'' +
                '}';
    }
}